﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Warehouse.Application.Dto.Input;
using Warehouse.Application.Dto.Output;
using Warehouse.Domain.Entities;

namespace Warehouse.Application
{
    public class Mappering:Profile
    {
        public Mappering()
        {
             CreateMap<CreateWareHouseInput, WareHouseModel>();
             CreateMap<CreateStoreInput, StorageModel>();
             CreateMap<CreateStoragelocationInput, StorageLocationModel>();
             CreateMap<CreateExternallabelInput, ExternallabelModel>();
             CreateMap<CreateLibraryrecordInput, LibraryrecordModel>();
             CreateMap<CreateSuppliedMaterialsInput, SuppliedMaterialsModel>();
             CreateMap<UpdateWareHouseInput, WareHouseModel>();
             CreateMap<UpdateStorageInput, StorageModel>();
             CreateMap<UpdateStoragelocationInput, StorageLocationModel>();
             CreateMap<UpdateExternallabelInput, ExternallabelModel>();
             CreateMap<OutLibraryrecordInput, LibraryrecordModel>();
        }
    }
}
